<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<%@ include file="/WEB-INF/jsp/front/task/inc/taglibs.jsp"%>
<%@ include file="/WEB-INF/jsp/front/task/inc/meta_form.jsp"%>
<link href="${approot}/static/style/task/css/table_page_form.css" type="text/css" rel="stylesheet">
<link href="${approot}/static/style/task/css/global.css" type="text/css" rel="stylesheet">
<script type="text/javascript">
$(function() {
	$("#tabs").tabs();
	var url="${approot}${rooturi}/list/${platform}/0/-1/1/menu/0/0";
	load_tabs_html(url,1);
});

function tabClick(tabID)
{
	var status=0;
	if(tabID==1)
	{
		status=0;
	}
	if(tabID==2)
	{
		status=1;
	}
	if(tabID==3)
	{
		status=2;
	}
	if(tabID==4)
	{
		status=-1;
	}
	var url="${approot}${rooturi}/list/${platform}/"+status+"/-1/"+tabID+"/menu/0/0";
	load_tabs_html(url,tabID);
}
</script>
    </head>
<body>

<!-- topbar start -->
 <c:import url="/task/header" context="${approot}"></c:import>
<!-- header end -->

<div class="clear"></div>

<div id="tbody">
 <c:import url="/task/ssl/user/info" context="${approot}"></c:import>
 <c:import url="/task/ssl/user/menu" context="${approot}"></c:import>

<div class="mainContent_wide">
<div class="panel mb8">
<h3><strong>
<c:if test="${platform==1}">淘宝任务大厅</c:if>
<c:if test="${platform==2}">拍拍任务大厅</c:if>
</strong></h3>
<div class="content p10" style="text-align:left;">
<div id="tabs">
	<ul>
		<li><a href="#tabs-1" onclick="tabClick(1);">等待接手(<font color='red'>${countsNew}</font>)</a></li>
		<li><a href="#tabs-2" onclick="tabClick(2);">正在进行(<font color='red'>${countsOn}</font>)</a></li>
		<li><a href="#tabs-3" onclick="tabClick(3);">已经完成(<font color='red'>${countsOver}</font>)</a></li>
		<li><a href="#tabs-4" onclick="tabClick(4);">所有任务(<font color='red'>${countsAll}</font>)</a></li>
	</ul>
	<div id="tabs-1">
	
    </div>		
	<div id="tabs-2">
	
	</div>
	<div id="tabs-3">
	
	</div>
	<div id="tabs-4">
	
	</div>
</div>
</div>
</div>
</div>

<!-- copyright start -->
 <c:import url="/task/footer" context="${approot}"></c:import>
</body></html>